import {request} from "@/network/request";

export function createOrder(data){
    return request({
        url: '/pay/createOrder',
        method: 'post',
        data:data
    })
}
export function doOrder(data){
    return request({
        url: '/pay/order',
        method: 'post',
        data:data
    })
}
export function cancelOrder(){
    return request({
        url: '/pay/cancel',
        method: 'get',
    })
}